<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="city" value="${lawyerDetailInfo.lawyerInfoCity}"/>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="pragram" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache, must-revalidate"/>
    <meta http-equiv="expires" content="0"/>
    <meta name="renderer" content="webkit"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>律师资料</title>

    <link rel="stylesheet" href="/assets/css/lib/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/css/lib/pagination.css">

    <link rel="stylesheet" href="/assets/css/common.css">
    <link rel="stylesheet" href="/assets/css/lawyer_material.css">
<style>

    .cms-modal-lg .cms-modal-dialog{
        height:415px;
    }
</style>
</head>
<body>
<div  id="cms">

    <jsp:include page="title_bar.jsp"/>
    <jsp:include page="tab_bar.jsp"/>

    <div class="cms-content">
        <div class="current-place">
            <div class="place-title">当前位置:</div>
            <div class="place-val">首页/律师管理/律师资料</div>
        </div>
        <div class="cms-sub-content clearfix">
            <div class="cms-sub-left">
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">律师基本情况</div>
                        <div class="common-right-btn circumstances-btn " name="roleMenu">编辑</div>
                    </div>
                    <div class="table-box">
                        <table class="table table-bordered">
                            <tr>
                                <th>律师姓名</th>
                                <th>性别</th>
                                <th>手机号</th>
                                <th>律师服务地区</th>
                                <th>账号创建时间</th>
                                <th>当前服务状态</th>
                                <th>账号状态</th>
                            </tr>
                            <tr>
                                <td>${lawyerDetailInfo.lawyerInfo.lawyername}</td>
                                <td><c:if test="${lawyerDetailInfo.lawyerInfo.lawyerSex==1}">男</c:if><c:if test="${lawyerDetailInfo.lawyerInfo.lawyerSex==0}">女</c:if> </td>
                                <td>${lawyerDetailInfo.lawyerInfo.lawyerPhone}</td>
                                <td>${lawyerDetailInfo.lawyerInfoCity}</td>
                                <td>${lawyerDetailInfo.lawyerInfo.createtimeStr}</td>
                                <td><c:if test="${lawyerDetailInfo.lawyerInfo.lawyerStates==1}">上线</c:if> <c:if test="${lawyerDetailInfo.lawyerInfo.lawyerStates!=1}">下线</c:if> </td>
                                <td><c:if test="${lawyerDetailInfo.lawyerInfo.isValid==1}">正常</c:if> <c:if test="${lawyerDetailInfo.lawyerInfo.isValid==2}">冻结</c:if><c:if test="${lawyerDetailInfo.lawyerInfo.isValid==0}">待审核</c:if></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>



            <div class="cms-sub-right">
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">财务参数设定</div>
                        <div class="common-right-btn financial-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="table-box">
                        <table class="table table-bordered">
                            <tr>
                                <th>(有效)电话咨询</th>
                                <th>图文资讯</th>
                                <th>法海分账比例</th>
                            </tr>
                            <tr>
                                <td><span id="tel_price">￥${lawyerDetailInfo.lawyerInfo.telPrice} </span>/次</td>
                                <td><span id="pig_price">￥${lawyerDetailInfo.lawyerInfo.pigPrice}</span> /次</td>
                                <td>${lawyerDetailInfo.lawyerInfo.fdTakeup}%</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="cms-sub-content clearfix">
            <div class="table-util">
                <div class="common-title">
                    <div class="common-left-line"></div>
                    <div class="common-text">律师业务情况</div>
                    <div class="common-right-btn"  onclick="window.location.href='/lawyer/findConverseList?lawyerid=${lawyerDetailInfo.lawyerInfo.lawyerid}'">通话列表</div>
                </div>
                <div class="table-box">
                    <table class="table table-bordered">
                        <tr>
                            <th>服务客户数(人)</th>
                            <th>咨询次数(个)</th>
                            <th>有效咨询数(个)</th>
                            <th>优质咨询数(个)</th>
                            <th>上报案源数(个)</th>
                            <th>服务总时长(秒)</th>
                            <th>累计总收入(元)</th>
                            <th>当前可提现(元)</th>
                            <th>累计提现(元)</th>
                        </tr>
                        <tr>
                            <td>${lawyerDetailInfo.lawyerInfo.servicenum==null?0:lawyerDetailInfo.lawyerInfo.servicenum}</td>
                            <td>${lawyerDetailInfo.lawyerInfo.allNumber}</td>
                            <td>${lawyerDetailInfo.lawyerInfo.allValidCall}</td>
                            <td>${lawyerDetailInfo.lawyerInfo.allGoodCall}</td>
                            <td>${lawyerDetailInfo.lawyerInfo.caseNum}</td>
                            <td>${lawyerDetailInfo.lawyerInfo.allWorktime}</td>
                            <td id="all_money"></td>
                            <td id="all_distill_money"></td>
                            <td id="all_tx_money"></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="cms-sub-content clearfix">
            <div class="cms-sub-left">
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">银行卡信息</div>
                        <div class="common-right-btn bank-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="table-box">
                        <table class="table table-bordered">
                            <tr>
                                <th>持卡人</th>
                                <th>开户行</th>
                                <th>开户行全称</th>
                                <!--
                                 <th>省</th>
                                 <th>市</th>
                                -->
                                <th>卡号</th>
                            </tr>
                            <tr>
                                <td>${lawyerDetailInfo.lawyerInfo.bankCarName}</td>
                                <td>${lawyerDetailInfo.lawyerInfo.bankAll}</td>
                                <td>${lawyerDetailInfo.lawyerInfo.bankArea}</td>
                                <!--
                                <td>河北</td>
                                <td>石家庄</td>
                                -->
                                <td>${lawyerDetailInfo.lawyerInfo.carNum}</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">律师工作经验</div>
                        <div class="common-right-btn experience-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="remark">
                        ${lawyerDetailInfo.lawyerInfo.workingExp}
                    </div>
                </div>
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">律师教育背景</div>
                        <div class="common-right-btn education-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="remark">
                        ${lawyerDetailInfo.lawyerInfo.educationBack}
                    </div>
                </div>
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">备注</div>
                        <div class="common-right-btn remark-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="remark">
                        ${lawyerDetailInfo.lawyerInfo.sysBak}
                    </div>
                </div>
            </div>
            <div class="cms-sub-right">
                <div class="table-util">
                    <div class="common-title">
                        <div class="common-left-line"></div>
                        <div class="common-text">律师标签</div>
                        <div class="common-right-btn sign-btn" name="roleMenu">编辑</div>
                    </div>
                    <div class="table-box">
                        <table class="table lawyer-sign">

                            <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="mp" >

                                <c:if test="${mp.key==11}">

                                    <tr>
                                        <th>擅长领域</th>
                                    </tr>

                                    <tr>
                                        <td>


                                            <c:set value="" var="scly" />

                                            <c:forEach items="${mp.value}" var="i">


                                                <c:set var="scly" value="${scly}${i.value}/"/>


                                            </c:forEach>

                                            <c:if test="${scly!=''}">

                                                ${fn:substring(scly,0,fn:length(scly)-1)}

                                            </c:if>

                                        </td>
                                    </tr>


                                </c:if>



                                <c:if test="${mp.key==21}">

                                    <tr>
                                        <th>个人优势</th>
                                    </tr>

                                    <tr>
                                        <td>


                                            <c:set value="" var="scly" />

                                            <c:forEach items="${mp.value}" var="i">


                                                <c:set var="scly" value="${scly}${i.value}/"/>


                                            </c:forEach>

                                            <c:if test="${scly!=''}">

                                                ${fn:substring(scly,0,fn:length(scly)-1)}

                                            </c:if>

                                        </td>
                                    </tr>


                                </c:if>





                                <c:if test="${mp.key==31}">

                                    <tr>
                                        <th>服务平台</th>
                                    </tr>

                                    <tr>
                                        <td>


                                            <c:set value="" var="scly" />

                                            <c:forEach items="${mp.value}" var="i">


                                                <c:set var="scly" value="${scly}${i.value}/"/>


                                            </c:forEach>

                                            <c:if test="${scly!=''}">

                                                ${fn:substring(scly,0,fn:length(scly)-1)}

                                            </c:if>

                                        </td>
                                    </tr>


                                </c:if>


                                <c:if test="${mp.key==6}">

                                    <tr>
                                        <th>社会荣誉</th>
                                    </tr>

                                    <tr>
                                        <td>


                                            <c:set value="" var="scly" />

                                            <c:forEach items="${mp.value}" var="i">


                                                <c:set var="scly" value="${scly}${i.value}/"/>


                                            </c:forEach>

                                            <c:if test="${scly!=''}">

                                                ${fn:substring(scly,0,fn:length(scly)-1)}

                                            </c:if>

                                        </td>
                                    </tr>


                                </c:if>




                            </c:forEach>

                        </table>
                    </div>
                </div>
            </div>

        </div>


    </div>
</div>

</div>

<!--编辑律师基本情况-->
<div class="cms-modal-lg" id="edit-circumstances" style="display: none;  ">
    <form id="edit_lawyer">
        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">编辑律师基本情况</div>
            <div class="cms-madal-content" >
                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left">律师姓名</div>
                        <div class="state-right">
                            <input name="lawyername" type="text" class="form-control required" value="${lawyerDetailInfo.lawyerInfo.lawyername}" maxlength="20"/>
                        </div>
                    </div>
                    <div class="two-stage">
                        <div class="state-left">性别</div>
                        <div class="state-right">
                            <input type="radio" value="1" name="lawyerSex" id="man"  <c:if test="${lawyerDetailInfo.lawyerInfo.lawyerSex==1}">checked="checked"</c:if> ><label for="man">男</label>
                            <input type="radio" value="0" name="lawyerSex" id="woman" <c:if test="${lawyerDetailInfo.lawyerInfo.lawyerSex==0}">checked="checked"</c:if> ><label for="woman">女</label>
                        </div>
                    </div>
                </div>
                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left not-edit">手机号</div>
                        <div class="state-right">
                            ${lawyerDetailInfo.lawyerInfo.lawyerPhone}
                        </div>
                    </div>
                    <div class="two-stage">
                        <div class="state-left not-edit">账号创建时间</div>
                        <div class="state-right">
                            ${ lawyerDetailInfo.lawyerInfo.createtimeStr  }
                        </div>
                    </div>

                </div>
                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left">服务地区</div>
                        <div class="state-right">
                            <div id="distpicker1" class="distpicker">
                                <div class="form-group">
                                    <select class="form-control province required" ></select>
                                </div>
                                <div class="form-group">
                                    <select class="form-control city required"></select>
                                </div>
                                <div class="form-group">
                                    <select class="form-control district"></select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left not-edit">律师事务所</div>
                        <div class="state-right">
                            ${lawyerDetailInfo.lawyerInfo.lawyerCompanyName}
                        </div>
                    </div>

                </div>
                <!--start -->
                <div class="state-unit-left">
                        <div class="state-unit">
                                <div class="two-stage">
                                    <div class="state-left">服务状态</div>
                                    <div class="state-right">
                                        <select name="lawyerStates" class="form-control edit-thread-status">
                                            <option value="1" <c:if test="${lawyerDetailInfo.lawyerInfo.lawyerStates==1}">selected="selected" </c:if>>上线</option>
                                            <option value="0" <c:if test="${lawyerDetailInfo.lawyerInfo.lawyerStates==0}">selected="selected" </c:if>>离线</option>
                                        </select>
                                    </div>
                                </div>
                         </div>
                         <div class="state-unit">
                                <div class="two-stage">
                                    <div class="state-left">账号状态</div>
                                    <div class="state-right">
                                        <select name="isValid" class="form-control edit-account-status">
                                            <option value="1" <c:if test="${lawyerDetailInfo.lawyerInfo.isValid==1}"></c:if>>正常</option>
                                            <option value="2" <c:if test="${lawyerDetailInfo.lawyerInfo.isValid==2}"></c:if>>冻结</option>
                                        </select>
                                    </div>
                                </div>
                          </div>
                </div>
                <div class="state-unit-right">
                     <img src="${lawyerDetailInfo.lawyerInfo.lawyerPortrait}" alt=""  style="width:100px;height:100px;">
                </div>

                <!--end -->


            </div>
            <br>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm circumstances-save">保存</button>
                <button type="button" class="cms-cancel circumstances-cancel">取消</button>
            </div>
        </div>

    </form>
</div>

<!--律师标签设置-->
<div class="cms-modal-lg" id='edit-sign' style="display:none;" >

    <form id="edit_lawyer_info">

        <div class="cms-modal-dialog">
            <div class="cms-modal-title">律师标签设置</div>
            <div class="cms-madal-content">
                <div class="state-unit edit-goodat">
                    <div class="two-stage">
                        <div class="state-left">擅长领域</div>
                        <div class="state-right">

                            <c:forEach items="${lawyerDetailInfo.lsAll}" var="skill">

                                <c:if test="${skill.skillType==11}">


                                    <c:set var="is_have" value="0"/>


                                    <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                        <c:if test="${ls.key==11}">


                                            <c:forEach items="${ls.value}" var="lsv">


                                                <c:if test="${lsv.key==skill.skillId}">

                                                    <c:set var="is_have" value="1"/>

                                                </c:if>


                                            </c:forEach>

                                        </c:if>

                                    </c:forEach>



                                    <div>
                                        <input type="checkbox" name="edit_prefer" <c:if test="${is_have==1}">checked="checked" </c:if> value="${skill.skillId}-${skill.skillType}" id="edit-${skill.skillId}"><label for="edit-${skill.skillId}">${skill.skillName}</label>
                                    </div>



                                </c:if>

                            </c:forEach>

                        </div>
                    </div>
                </div>
                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left">个人优势</div>
                        <div class="state-right edit-advantage">
                            <select class="form-control edit-advantage-one  edit_advantage" name="edit_advantage">
                                <option disabled selected value></option>

                                <c:forEach items="${lawyerDetailInfo.lsAll}" var="skill">


                                    <c:if test="${skill.skillType==21}">

                                        <c:set var="is_have" value="0"/>

                                        <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                            <c:if test="${ls.key==21}">


                                                <c:forEach items="${ls.value}" var="lsv">


                                                    <c:if test="${lsv.key==skill.skillId}">

                                                        <c:set var="is_have" value="1"/>

                                                    </c:if>


                                                </c:forEach>

                                            </c:if>

                                        </c:forEach>



                                        <option value="${skill.skillId}-${skill.skillType}" <c:if test="${is_have==1}">selected="selected"</c:if> >${skill.skillName}</option>



                                    </c:if>


                                </c:forEach>



                            </select>
                            <select class="form-control edit-advantage-two  edit_advantage" name="edit_advantage2">
                                <option disabled selected value></option>
                                <c:forEach items="${lawyerDetailInfo.lsAll}" var="skill">


                                    <c:if test="${skill.skillType==22}">

                                        <c:set var="is_have" value="0"/>

                                        <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                            <c:if test="${ls.key==21}">


                                                <c:forEach items="${ls.value}" var="lsv">


                                                    <c:if test="${lsv.key==skill.skillId}">

                                                        <c:set var="is_have" value="1"/>

                                                    </c:if>


                                                </c:forEach>

                                            </c:if>

                                        </c:forEach>



                                        <option value="${skill.skillId}-${skill.skillType}" <c:if test="${is_have==1}">selected="selected"</c:if> >${skill.skillName}</option>



                                    </c:if>


                                </c:forEach>



                            </select>
                            <select class="form-control edit-advantage-three  edit_advantage" name="edit_advantage3">
                                <option disabled selected value></option>
                                <c:forEach items="${lawyerDetailInfo.lsAll}" var="skill">


                                    <c:if test="${skill.skillType==23}">

                                        <c:set var="is_have" value="0"/>

                                        <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                            <c:if test="${ls.key==21}">


                                                <c:forEach items="${ls.value}" var="lsv">


                                                    <c:if test="${lsv.key==skill.skillId}">

                                                        <c:set var="is_have" value="1"/>

                                                    </c:if>


                                                </c:forEach>

                                            </c:if>

                                        </c:forEach>



                                        <option value="${skill.skillId}-${skill.skillType}" <c:if test="${is_have==1}">selected="selected"</c:if> >${skill.skillName}</option>



                                    </c:if>c


                                </c:forEach>

                            </select>
                        </div>
                    </div>
                </div>
                <div class="state-unit edit-service">
                    <div class="two-stage">
                        <div class="state-left">服务平台</div>
                        <div class="state-right">


                            <c:forEach items="${plats}" var="plat">


                                <c:set var="is_have" value="0"/>


                                <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                    <c:if test="${ls.key==31}">


                                        <c:forEach items="${ls.value}" var="lsv">


                                            <c:if test="${lsv.key==plat.proid}">

                                                <c:set var="is_have" value="1"/>

                                            </c:if>


                                        </c:forEach>

                                    </c:if>

                                </c:forEach>


                                <div>

                                    <!--  <input type="checkbox"  name="edit_plate" <c:if test="${is_have==1}">checked="checked" </c:if> value="${plat.proid}" id="edit-plat${plat.proid}"><label for="edit-plat${plat.proid}">${plat.pro_name}</label> -->


                                    <input type="checkbox"  name="edit_plate"
                                           <c:if test="${is_have==1}">checked="checked" </c:if>
                                           value="${plat.proid}"  ><label>${plat.pro_name}</label>

                                </div>



                            </c:forEach>


                        </div>
                    </div>
                </div>
                <div class="state-unit edit-honour">
                    <div class="two-stage">
                        <div class="state-left">社会荣誉</div>
                        <div class="state-right clearfix">

                            <c:forEach items="${lawyerDetailInfo.lawyerSkill}" var="ls">

                                <c:if test="${ls.key==6}">


                                    <c:forEach items="${ls.value}" var="lsv">

                                        <input type="text"  maxlength="10" name="edit_honor" class="form-control required"   data-value="${lsv.key}" value="${lsv.value}"/>

                                    </c:forEach>

                                </c:if>

                            </c:forEach>

                            <div class="add-btn">
                                <img src="/assets/images/edit_add.png">
                                <span>添加</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cms-modal-bottom">
                <button type="button" class="cms-confirm sign-save" data-value="${lawyerDetailInfo.lawyerInfo.lawyerid}">保存</button>
                <button type="button" class="cms-cancel sign-cancel">取消</button>
            </div>
        </div>
    </form>
</div>
<!--律师工作经验编辑-->
<div class="cms-modal-lg" id="edit-experience" style="display:none;">
    <form id="edit_workingExp">
        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">律师工作经验编辑</div>
            <div class="cms-madal-content">
                <textarea autofocus name="workingExp" placeholder="请输入工作经验" class="common-remark required" maxlength="200">${lawyerDetailInfo.lawyerInfo.workingExp}</textarea>
                <div class="limit200">限200字</div>
            </div>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm experience-save">保存</button>
                <button type="button" class="cms-cancel experience-cancel">取消</button>
            </div>
        </div>
    </form>
</div>
<!--律师教育背景编辑-->
<div class="cms-modal-lg" id="edit-education" style="display:none;">

    <form id="edit_educationBack">
        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">律师教育背景编辑</div>
            <div class="cms-madal-content">
                <textarea placeholder="请输入教育背景" class="common-remark required" name="educationBack" maxlength="200">${lawyerDetailInfo.lawyerInfo.educationBack}</textarea>
                <div class="limit200">限200字</div>
            </div>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm education-save">保存</button>
                <button type="button" class="cms-cancel education-cancel">取消</button>
            </div>
        </div>
    </form>
</div>
<!--备注-->
<div class="cms-modal-lg" id="edit-remark" style="display:none;">
    <form id="edit_sysBak">

        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">备注</div>
            <div class="cms-madal-content">
                <textarea placeholder="请输入备注" name="sysBak" maxlength="200" class="common-remark required"> ${lawyerDetailInfo.lawyerInfo.sysBak}</textarea>
                <div class="limit200">限200字</div>
            </div>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm remark-save">保存</button>
                <button type="button" class="cms-cancel remark-cancel">取消</button>
            </div>
        </div>
    </form>
</div>
<!--财务参数设定-->
<div class="cms-modal-lg" id="edit-financial" style="display:none;">


    <form id="edit_financial">
        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">财务参数设定</div>
            <div class="cms-madal-content">
                <div class="state-box">
                    <span>(有效)电话咨询</span>
                    <input type="hidden"   name="telPrice" id="edit_hidden_tel_price"  value=""/>
                    <input type="text" class="form-control required number" id="edit_tel_price"    value="${lawyerDetailInfo.lawyerInfo.telPrice/100}"/>
                    <span>元/次</span>
                </div>
                <div class="state-box">
                    <span>图文资讯</span>
                    <input type="hidden"   id="edit_hidden_pig_price" name="pigPrice" value=""/>
                    <input type="text" class="form-control required number" id="edit_pig_price"   value="${lawyerDetailInfo.lawyerInfo.pigPrice/100}"/>
                    <span>元/次</span>
                </div>
                <div class="state-box">
                    <span>法海分账比例</span>
                    <input type="text" class="form-control required number" name="fdTakeup" value="${lawyerDetailInfo.lawyerInfo.fdTakeup}"/>
                    <span>%</span>
                </div>
            </div>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm financial-save">保存</button>
                <button type="button" class="cms-cancel financial-cancel">取消</button>
            </div>
        </div>
    </form>
</div>

<!--银行卡信息编辑-->
<div class="cms-modal-lg" id="edit-bank" style="display:none;">
    <form id="edit_bank">
        <input type="hidden" name="lawyerid" value="${lawyerDetailInfo.lawyerInfo.lawyerid}"/>
        <div class="cms-modal-dialog">
            <div class="cms-modal-title">银行卡信息编辑</div>
            <div class="cms-madal-content">
                <div class="state-unit">
                    <!--
                    <div class="two-stage">
                        <div class="state-left">服务地区</div>
                        <div class="state-right">
                            <div id="distpicker2" class="distpicker">
                                <div class="form-group">
                                    <select class="form-control province" ></select>
                                </div>
                                <div class="form-group">
                                    <select class="form-control city"></select>
                                </div>
                            </div>
                        </div>
                    </div>
                    -->
                    <div class="two-stage">
                        <div class="state-left">开&nbsp;&nbsp;&nbsp;户&nbsp;&nbsp;&nbsp;&nbsp;行</div>
                        <div class="state-right card">
                            <select name="bankAll" id="bank" class="form-control bank-name">
                                <option value="中国银行">中国银行</option>
                                <option value="农业银行">农业银行</option>
                                <option value="工商银行">工商银行</option>
                                <option value="建设银行">建设银行</option>
                                <option value="交通银行">交通银行</option>
                                <option value="邮政储蓄银行">邮政储蓄银行</option>
                                <option value="招商银行">招商银行</option>
                                <option value="中信银行">中信银行</option>
                                <option value="华夏银行">华夏银行</option>
                                <option value="民生银行">民生银行</option>
                                <option value="上海浦东发展银行">上海浦东发展银行</option>
                                <option value="光大银行">光大银行</option>
                                <option value="兴业银行">兴业银行</option>
                                <option value="深圳发展银行">深圳发展银行</option>
                                <option value="广东发展银行">广东发展银行</option>
                                <option value="其他银行">其他银行 </option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="state-unit">
                    <div class="two-stage">
                        <div class="state-left">开户行全称</div>
                        <div class="state-right">
                            <input type="text" maxlength="30" name="bankArea" class="form-control required" value="${lawyerDetailInfo.lawyerInfo.bankArea}"/>
                        </div>
                    </div>
                </div>
                <div class="state-unit card-info">
                    <div class="two-stage">
                        <div class="state-left">持卡人姓名</div>
                        <div class="state-right">
                            <input type="text"  name="bankCarName" pattern="/S" required="required" maxlength="4" class="form-control required"  value="${lawyerDetailInfo.lawyerInfo.bankCarName}"/>
                        </div>
                    </div>
                    <div class="two-stage">
                        <div class="state-left">银行卡号</div>
                        <div class="state-right">
                            <input type="tel" pattern="[0-9]*" class="form-control required creditcard" name="carNum"  maxlength="19" value="${lawyerDetailInfo.lawyerInfo.carNum}"/>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cms-modal-bottom clearfix">
                <button type="button" class="cms-confirm bank-save">保存</button>
                <button type="button" class="cms-cancel bank-cancel">取消</button>
            </div>
        </div>
    </form>
</div>

</body>
</body>
<script type="text/javascript">
    var city='${lawyerDetailInfo.lawyerInfoCity}';
    var bank='${lawyerDetailInfo.lawyerInfo.bankAll}';
    var allMoney='${lawyerDetailInfo.lawyerInfo.allMoney}';
    var allDistillMoney='${lawyerDetailInfo.lawyerInfo.allDistillMoney}';
    var allTxMoney='${lawyerDetailInfo.lawyerInfo.allTxMoney}';
    var telPrice='${lawyerDetailInfo.lawyerInfo.telPrice}';
    var pigPrice='${lawyerDetailInfo.lawyerInfo.pigPrice}';
</script>
<script type="text/javascript" src="/assets/js/lib/jquery-1.12.3.js"></script>
<script type="text/javascript" src="/assets/js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="/assets/js/lib/jquery.validate.js"></script>
<script type="text/javascript" src="/assets/js/lib/jquery.validate.messages_cn.js"></script>
<script type="text/javascript" src="/assets/js/lib/modal.js"></script>
<script type="text/javascript" src="/assets/js/lib/cmsmodal.js"></script>

<script type="text/javascript" src="/assets/js/lib/distpicker.data.js"></script>
<script type="text/javascript" src="/assets/js/lib/distpicker.js"></script>
<script type="text/javascript" src="/assets/js/lib/jquery.pagination.js"></script>

<script type="text/javascript" src="/assets/js/lib/My97DatePicker/WdatePicker.js"></script>


<script type="text/javascript" src="/assets/js/common.js"></script>
<script type="text/javascript" src="/assets/js/lawyer_material.js"></script>
</html>